/**
 * @license
 * Cesium - https://github.com/CesiumGS/cesium
 * Version 1.99
 *
 * Copyright 2011-2022 Cesium Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Columbus View (Pat. Pend.)
 *
 * Portions licensed separately.
 * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
 */
define(["./defined-841154bc","./Transforms-e197038a","./Cartesian3-baad0d89","./ComponentDatatype-30c22829","./GeometryAttribute-5a1e1fea","./GeometryAttributes-b872d70e","./Ellipsoid-8c7a76bb","./defaultValue-96fcdfd6","./Math-65e8389d","./GeographicProjection-55dca850","./Matrix3-d40b977d","./Matrix2-6acef2ae","./RuntimeError-5ad5d372","./Cartesian2-cf084b8e","./Resource-61034e3e","./combine-43f74aba","./defer-fe5560c8","./WebGLConstants-fcb70ee3"],(function(e,t,n,r,a,i,o,c,u,d,s,f,p,y,b,m,w,G){"use strict";function l(){this._workerName="createPlaneOutlineGeometry"}l.packedLength=0,l.pack=function(e,t){return t},l.unpack=function(t,n,r){return e.defined(r)?r:new l};const C=new n.Cartesian3(-.5,-.5,0),h=new n.Cartesian3(.5,.5,0);return l.createGeometry=function(){const e=new i.GeometryAttributes,o=new Uint16Array(8),c=new Float64Array(12);return c[0]=C.x,c[1]=C.y,c[2]=C.z,c[3]=h.x,c[4]=C.y,c[5]=C.z,c[6]=h.x,c[7]=h.y,c[8]=C.z,c[9]=C.x,c[10]=h.y,c[11]=C.z,e.position=new a.GeometryAttribute({componentDatatype:r.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:c}),o[0]=0,o[1]=1,o[2]=1,o[3]=2,o[4]=2,o[5]=3,o[6]=3,o[7]=0,new a.Geometry({attributes:e,indices:o,primitiveType:a.PrimitiveType.LINES,boundingSphere:new t.BoundingSphere(n.Cartesian3.ZERO,Math.sqrt(2))})},function(t,n){return e.defined(n)&&(t=l.unpack(t,n)),l.createGeometry(t)}}));
